package com.whut.mobilesafe.db;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

/**
 * 作    者:yubo.xiaoyubo
 * 时    间：2015/12/25 9:20
 * 版    本：1.0
 * 描    述：
 */
public class BlackListOpenHelper extends SQLiteOpenHelper {

    public BlackListOpenHelper(Context context) {
        super(context, "blackList.db", null, 1);
    }

    @Override
    public void onCreate(SQLiteDatabase db) {
        db.execSQL("create table blackNumber(_id integer primary key autoincrement, number varchar(20), mode integer)");
    }

    @Override
    public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {

    }
}

